﻿using System.ComponentModel;

namespace NetSync.Core
{
    public enum NetConnectionEnum
    {
        [Description("未知")]
        Unknown = 0,

        [Description("已连接")]
        Connected = 1,

        [Description("已断开")]
        DisConnected = 2,

        [Description("已锁定")]
        Blocked = 3,

        [Description("已解锁")]
        UnBlocked = 4
    }

    public enum NetConncetionTypeEnum
    {
        [Description("未知")]
        Unknown = 0,

        [Description("生产者")]
        Producer = 1,

        [Description("消费者")]
        Consumer = 2,
    }
}
